package com.ruoyi.template.dto;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class TemplateDetailRequest {
    @NotEmpty(message = "审核人ID不能为空")
    private String reviewerId;

    @NotEmpty(message = "审核人名字不能为空")
    private String reviewerName;

    @NotNull(message = "审核顺序不能为空")
    private Integer reviewOrder;

    public String getReviewerId() {
        return reviewerId;
    }

    public void setReviewerId(String reviewerId) {
        this.reviewerId = reviewerId;
    }

    public String getReviewerName() {
        return reviewerName;
    }

    public void setReviewerName(String reviewerName) {
        this.reviewerName = reviewerName;
    }

    public int getReviewOrder() {
        return reviewOrder;
    }

    public void setReviewOrder(int reviewOrder) {
        this.reviewOrder = reviewOrder;
    }

    @Override
    public String toString() {
        return "TemplateDetailRequest{" +
                "reviewerId='" + reviewerId + '\'' +
                ", reviewerName='" + reviewerName + '\'' +
                ", reviewOrder=" + reviewOrder +
                '}';
    }
}
